the israeli military says the militants were trying to plant a bomb .
the men crossed from syria , israel says .